<template>
  <div style="width:100%;">
    <Header></Header>
    <div class="main-cnt">
        <div class="banner">
            <div class="banner-desc">
                <h1>网站快速成型工具</h1>
                <p>一套为开发者、设计师和产品经理准备的基于 Vue 2.0 的桌面端组件库</p>
            </div>
        </div>
        <div class="jumbotron">
            <div>
                <img class="jumbotron-plant" src="../assets/images/banner_blue.png" alt="">
            </div>
        </div>
        <div class="cards">
            <ul class="container">
                <li>
                <div class="card">
                    <img src="../assets/images/guide.png" alt="">
                    <h3>指南</h3>
                    <p>了解设计指南，帮助产品设计人员搭建逻辑清晰、结构合理且高效易用的产品。</p>
                    <router-link
                    active-class="active"
                    to="/guide/design"
                    exact>查看详情
                    </router-link>
                </div>
                </li>
                <li>
                <div class="card">
                    <img src="../assets/images/component.png" alt="">
                    <h3>组件</h3>
                    <p>使用组件 Demo 快速体验交互细节；使用前端框架封装的代码帮助工程师快速开发。</p>
                    <router-link
                    active-class="active"
                    to="/center"
                    exact>查看详情
                    </router-link>
                </div>
                </li>
                <li>
                <div class="card">
                    <img src="../assets/images/resource.png" alt="">
                    <h3>资源</h3>
                    <p>下载相关资源，用其快速搭建页面原型或高保真视觉稿，提升产品设计效率。</p>
                    <router-link
                    active-class="active"
                    to="/resource"
                    exact>查看详情
                    </router-link>
                </div>
                <!-- <div class="card">
                    <img src="../assets/images/resource.png" alt="">
                    <h3>京唐</h3>
                    <p>下载相关资源，用其快速搭建页面原型或高保真视觉稿，提升产品设计效率。</p>
                    <router-link
                    active-class="active"
                    to="/jtdemo"
                    exact>查看详情
                    </router-link>
                </div> -->
                </li>
            </ul>
        </div>
    </div>
  </div>
</template>
<script>
//   import { Hover } from 'perspective.js';
  import Header from "../home/header";
  export default {
    components:{Header},
  };
</script>
<style scoped>
.banner {
    text-align: center;
}
.banner-desc {
    padding-top: 20px;
}
.banner-desc h1{
    font-size: 34px;
    margin: 0;
    line-height: 48px;
    color: #555;
}
.banner-desc p {
    font-size: 18px;
    line-height: 28px;
    color: #888;
    margin: 10px 0 5px;
}
.cards {
    margin: 0 auto 110px;
    width: 1140px;
}
.cards .container {
    padding: 0;
    margin: 0 -11px;
    width: auto;
}

.cards li {
    width: 33.33333%;
    padding: 0 19px;
    box-sizing: border-box;
    float: left;
    list-style: none;
}

.cards img {
    width: 160px;
    height: 120px;
}
.card {
    height: 430px;
    width: 100%;
    background:#ffffff;
    border:1px solid #eaeefb;
    border-radius:5px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    transition: all .3s ease-in-out;
    bottom: 0;
}
.card img {
      margin: 66px auto 60px;
    }
.card h3 {
    margin: 0;
    font-size: 18px;
    color: #1f2f3d;
    font-weight: normal;
}
.card  p{
    font-size: 14px;
    color: #99a9bf;
    padding: 0 25px;
    line-height: 20px;
}
.card  a {
    height: 53px;
    line-height: 52px;
    font-size: 14px;
    color: #409EFF;
    text-align: center;
    border: 0;
    border-top: 1px solid #eaeefb;
    padding: 0;
    cursor: pointer;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    transition: all .3s;
    text-decoration: none;
    display: block;
}
.card:hover {
    bottom: 6px;
    box-shadow: 0 6px 18px 0 rgba(232,237,250,0.50);
} 
.main-cnt {
    /* margin-top: -80px; */
    padding: 80px 0 340px;
    box-sizing: border-box;
    /* min-height: 100%; */
}
.jumbotron{
    text-align: center;
}
.jumbotron .jumbotron-plant{
    width:890px;
    margin:30px auto;
}
</style>


